package com.whmskj.xjlhbc.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(name = "温湿度看板响应参数",description = "温湿度看板响应参数")
public class WsdKbDto {

    @Schema(description = "采集时间")
    private String sj;

    @Schema(description = "状态")
    private String zt="正常";

    @Schema(description = "温度")
    private WsdDto wd = new WsdDto();

    @Schema(description = "湿度")
    private WsdDto sd = new WsdDto();


    @Data
    @Schema(name = "车间温湿度响应参数",description = "车间温湿度响应参数")
    public static class WsdDto{
        @Schema(description = "织布车间")
        private String zb="0.00";

        @Schema(description = "准整车间")
        private String zz="0.00";

        private List<String> xData = new ArrayList<>();
        private List<String> data = new ArrayList<>();
        private List<List<Double>> value = new ArrayList<>();
    }

}
